package com.yxe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.yxe.dto.ContractImage;
import com.yxe.pojo.Contract;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yangl
 * @since 2022-12-08
 */

@Repository
public interface ContractMapper extends BaseMapper<Contract> {

    void addContract(Contract contract);

    ContractImage lookContract(Integer userId);
}
